package com.qi.dao;

import com.qi.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zjq
 * @date 2020/4/12 20:44
 */
public interface UserMapper {
    //根据id查询用户
    List<User> findUserByID(@Param("id") int id);

    //根据id修改用户
    int updateUser(User user);
}
